package com.happy.cat.project.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.happy.cat.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * 账号荧光棒明细对象 user_light_stack
 * 
 * @author verne
 * @date 2020-08-12
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName(autoResultMap = true )
@ApiModel(value="账号荧光棒明细对象", description="账号荧光棒明细对象数据")
public class UserLightStack implements Serializable {

private static final long serialVersionUID=1L;


    /** id */
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Excel(name = "明细类型(1.圈子签到，2关注圈子,3任务奖励， 4.圈子登记升级礼包,5不定期的荧光棒活动， 6月卡福利,0 管理员修改)")
    @ApiModelProperty(value = "明细类型")
    private Integer type;

    /** 荧光棒值 */
    @Excel(name = "荧光棒值")
    @ApiModelProperty(value = "荧光棒值")
    private Integer sroce;

    /** 当前荧光棒值 */
    @Excel(name = "当前荧光棒值")
    @ApiModelProperty(value = "当前荧光棒值")
    private Long currentSroce;

    /** 荧光棒值变更时间 */
    @Excel(name = "荧光棒值变更时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "荧光棒值变更时间")
    private Date changeTime;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty(value = "用户id")
    private Long accountId;

    /** 兑换礼物 */
    @Excel(name = "兑换礼物")
    @ApiModelProperty(value = "兑换礼物")
    private Long rewardGift;

    /** 抽奖礼物 */
    @Excel(name = "抽奖礼物")
    @ApiModelProperty(value = "抽奖礼物")
    private Long luckDrawGift;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remarks;
}
